//
//  TLBottomBar.h
//  Books
//
//  Created by tao故乡的云 on 2017/3/24.
//  Copyright © 2017年 故乡的云. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TLBottomBar;
@protocol TLBottomBarDelegate <NSObject>

@optional
- (void)bottomBar:(TLBottomBar *)view didClickDeleteButton:(UIButton *)btn;
- (void)bottomBar:(TLBottomBar *)view didClickLoveButton:(UIButton *)btn;
- (void)bottomBar:(TLBottomBar *)view didClickEditButton:(UIButton *)btn;

@end

@interface TLBottomBar : UIWindow
/** 删除使能 */
@property (nonatomic,assign) bool deleteEnabe;
@property (nonatomic,assign) bool loveSelected;
@property (nonatomic, weak) id <TLBottomBarDelegate> delegate;

//+ (instancetype)sharedBottomBar;
+ (instancetype)show;
+ (void)hidden;
@end
